# Scons build script for <project_name>

#Adjust the following line to suit your setup
vstPlugName = '<project_name>'
vstSDKDir = '<VST_SDK_DIR>'

env = Environment(CPPPATH= vstSDKDir, tools=['mingw'])

# optimize and show all warnings
env['CCFLAGS'] = ['-Wall -O3']

env.SharedLibrary(vstPlugName, [
          vstPlugName+'.cpp',
          vstSDKDir+'\\public.sdk\\source\\vst2.x\\audioeffect.cpp',
          vstSDKDir+'\\public.sdk\\source\\vst2.x\\audioeffectx.cpp',
          vstSDKDir+'\\public.sdk\\source\\vst2.x\\vstplugmain.cpp'])
